package com.mf.entity.req;

import java.io.Serial;

import com.mf.groups.GroupsUpdateInterface;
import com.mf.groups.GroupsAddInterface;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Null;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDate;

import lombok.Data;

/**
 * 提交
 */
@Data
public class ReqIncomingDetail implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @NotNull(message = "id不能为空", groups = {GroupsUpdateInterface.class})
    @Null(message = "新增id必须为空", groups = {GroupsAddInterface.class})
    private Integer id;
    private Integer receiveId;
    

    private String customerBatchCode;
    

    private Integer customerId;
    

    private String customerName;
    

    private String receiveCode;
    

    private String packageType;
    

    private Integer packageNum;
    

    private String packageCount;
    

    private Integer materialId;
    

    private String materialInfo;
    

    private Double customerWeight;
    

    private Double sumWeight;
    

    private Double packageWeight;
    

    private Double grossWeight;
    

    private String warehouse;
    

    private Integer locationId;
    

    private String locationInfo;
    

    private String flagCommit;
    

    private String remark;
    

    private String douser;
    

    private LocalDateTime dotime;
    

    private LocalDateTime uptime;
    

    private Integer flagSo;
    

    private Integer flagSplit;
    

    private Integer flagSoConfirm;
    

    private Integer flagSsConfirm;
    

    private Integer flagSplitConfirm;
    

    private String workerType;
    

    private Integer workerId;
    

    private Integer flagWorker;
    

    private Integer flagSend;
    

    private Integer flagAccept;
    

    private Integer no;
    

    private Integer flagGenPackageNum;

    private Double soDoneWeight;

    private Integer isSchedule;

    private Integer relevancyId;

    private Integer relevancyType;
}
